package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class Deliver implements Serializable {
    private Integer id;

    /**
	* 投递职位id
	*/
    private Job job;

    /**
	* 投递用户的id
	*/
    private Userinfo userinfo;

    private Resume resume;
    /**
	* 公司是否移除该投递简历,0未移除,1已移除
	*/
    private Boolean companyRemoved;

    /**
	* 用户是否取消投递,0未取消,1取消
	*/
    private Boolean userinfoRemoved;

    /**
	* 公司处理状态,0待查看,1已查看,2以通过,3未通过
	*/
    private Integer state;
    /**
     * 公司处理状态时间
     */
    private ResumeState resumeState;
    /**
	* 添加时间
	*/
    private Date inputTime;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Resume getResume() {
        return resume;
    }

    public void setResume(Resume resume) {
        this.resume = resume;
    }

    public Boolean getCompanyRemoved() {
        return companyRemoved;
    }

    public void setCompanyRemoved(Boolean companyRemoved) {
        this.companyRemoved = companyRemoved;
    }

    public Boolean getUserinfoRemoved() {
        return userinfoRemoved;
    }

    public void setUserinfoRemoved(Boolean userinfoRemoved) {
        this.userinfoRemoved = userinfoRemoved;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public ResumeState getResumeState() {
        return resumeState;
    }

    public void setResumeState(ResumeState resumeState) {
        this.resumeState = resumeState;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", job=").append(job);
        sb.append(", userinfo=").append(userinfo);
        sb.append(", resume=").append(resume);
        sb.append(", companyRemoved=").append(companyRemoved);
        sb.append(", userinfoRemoved=").append(userinfoRemoved);
        sb.append(", state=").append(state);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}